Repository navigation
Conversation
- fix opencode v2 plugin test preflight to check each registered file - classify MCPX_SCRIPT_LANGUAGE in e2e env guard safe set - register docs/changes/research-and-findings-nix-slice.md in compendium - refresh generated docs/environment.md - make runner dispatch workdir test symlink-safe
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Fixes #10487
Summary
Targets the failures reported for mcpx run 43707720627 on
7d3dcebe1e7b3c349db9870aa09ae04f518aa80f.basic: plugin tests
.github/workflows/mcpx.yml: fix the opencode v2 registration preflight to check each registered test file (plugin/opencode/v2/$f) instead of testing the directory path without the filename, which causedregistered v2 test file missing: plugin/opencode/v2/and exited beforebun test plugin/opencode/v2/.basic: lint
SC2034(f appears unused) from the broken loop above; fixing the loop addresses the reported lint failure in the mcpx workflow actionlint/shellcheck leg.stress: nightly full suite (documented signals)
pkgs/mcpx/internal/runner/dispatch_test.go: makeTestDispatchedWorkdirPolicyAllocatesARunnerDirectorycompare paths afterfilepath.EvalSymlinksso macOS/varvs/private/vartemp-path aliasing does not produce a false mismatch.pkgs/mcpx/docs/compendium.manifest.json: registerdocs/changes/research-and-findings-nix-slice.mdas a docs-history change fragment (role: not-compendium) soTestEveryDocumentHasAChapterno longer reports it as unmanifested.pkgs/mcpx/docs/environment.md: refresh generated script-environment table viago test ./internal/settings -run TestTheEnvironmentDocIsCurrent -updateto resolve the stale-doc failure.pkgs/mcpx/internal/e2e/envguard_test.go: classifyMCPX_SCRIPT_LANGUAGEinsafeMCPX(new registry variable; default-governed, not harness-set per child) to satisfyTestEveryRegistryVariableIsHarnessSetOrSafe.Verification (targeted, local)
Run in worktree
~/git/fleet/fix-mcpx-ci-10487on branchfix/mcpx-ci-10487(269bb49c51):bash scripts/worker-preflight.sh(clean)cd pkgs/mcpx && go test ./internal/settings -run 'TestTheEnvironmentDocIsCurrent|TestEveryDocumentHasAChapter'— okcd pkgs/mcpx && go test ./internal/e2e -run TestEveryRegistryVariableIsHarnessSetOrSafe— okcd pkgs/mcpx && go test ./internal/runner -run TestDispatchedWorkdirPolicyAllocatesARunnerDirectory— okNot run locally: full mcpx lint in Nix devshell, full Go suite, or full nightly stress matrix (CI-first/heavy). PR CI should validate the workflow/lint/plugin/stress legs.
Notes / possible remaining risk
gh run view --log-failedfor this run also showed additional stress failures in the sampled logs (e.g. macOS unix socket bind issues in CLI/daemon temp paths, ubuntuMCPX_SCRIPT_LANGUAGEenvguard failure now addressed, and a shutdown-timeout/panic case ininternal/daemonon ubuntu). I addressed the concrete, reproducible root causes named in the issue/report and the directly related envguard/doc/manifest/symlink issues visible in current code; if the nightly stress matrix still flakes on environment-sensitive cases, follow-up triage may be needed with the same shuffle seed7550508743126527922and job logs.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit
Tests
Documentation